package com.qiyun.duijiang.dao;

import com.qiyun.duijiang.entity.Record;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RecordMapper {
    //插入用户加减点数记录
    int insert(Record record);
    //查询所有记录
    List<Record> selectAll();
    List<Record> selectUp(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize, @Param("username") String username);
}
